//
//  QRViewController.h
//  PhyloHunter
//
//  Created by Sean Bramhall on 2013-06-07.
//
//	Programmer(s): Sean Bramhall
//	Team Name: The Gigglers (Group 14)
//
//	Changes: N/A
//	Bugs: N/A
//
//	Task:	Is the View Controller for the 'Card Scanner'

#import <UIKit/UIKit.h>
#import "ZBarSDK.h"
#import "mutlichoiceViewController.h"



@interface QRViewController : UIViewController <ZBarReaderDelegate>
{
    mutlichoiceViewController * multi;
}

-(IBAction)backButton:(id)sender;

@property (nonatomic, retain) mutlichoiceViewController * multi;

// bool for checking if QR scanner has run more than once
@property (nonatomic, assign) BOOL scan;

//The Message that tells the user how to use the QR Scanner
// modified to work without arc
@property (nonatomic, retain) IBOutlet UILabel *helpMsg;

//This is the background image to the Help Message
// modified to work without arc
@property (nonatomic, retain) IBOutlet UIImageView *helpOverLayBG;

@property (nonatomic, assign) NSString * server;

@property (nonatomic, assign) NSString * cardid;

@property (nonatomic, retain) NSString * cardnum;

@property (nonatomic, retain) NSString * serveraddress;

//Toggle Button that brings up a description on how to use the QR Scanner
- (IBAction)HelpButton:(id)sender;

@end
